package com.itheima.apis.user.fallback;


import com.itheima.apis.user.IUserClient;
import com.itheima.model.common.dtos.ResponseResult;
import com.itheima.model.common.enums.AppHttpCodeEnum;
import org.springframework.stereotype.Component;

@Component
public class IUserClientFallBack implements IUserClient {

    @Override
    public ResponseResult getAuthorVo(Integer authorId) {
        return ResponseResult.errorResult(AppHttpCodeEnum.SERVER_ERROR);
    }
}
